# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=stalonetray
pkgver=0.8.3
pkgrel=1
pkgdesc="Stalonetray is a stand-alone freedesktop.org and KDE system tray"
url="http://stalonetray.sourceforge.net/"
arch="all"
license="GPL-2.0-only"
makedepends="libx11-dev libxpm-dev"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/project/stalonetray/stalonetray/stalonetray-$pkgver/stalonetray-$pkgver.tar.bz2"

build() {
	./configure --prefix=/usr
	make
}

package() {
	make DESTDIR=$pkgdir install
	install -D -m644 stalonetrayrc.sample $pkgdir/etc/stalonetrayrc
}

sha512sums="b1c50d844b6497b586c1ad56b721675690ea305a4e3a2601ab5305af0e208c215825eefa8fa374ae0c392252156a8dffd5882992c943344f5b6a674fe6553942  stalonetray-0.8.3.tar.bz2"
